package com.ruoyi.video.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 番剧关联对象 video_relation
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class VideoRelation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 番剧关联id,a关联b,这里存a,b 以逗号分隔
     */
    @Excel(name = "番剧关联id,a关联b,这里存a,b 以逗号分隔")
    private String videoIds;

    public VideoRelation() {
    }

    public VideoRelation(String id) {
        this.id = id;
    }

    public VideoRelation(String id, String videoIds) {
        this.id = id;
        this.videoIds = videoIds;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setVideoIds(String videoIds) {
        this.videoIds = videoIds;
    }

    public String getVideoIds() {
        return videoIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("videoIds", getVideoIds())
                .toString();
    }
}
